package com.owc.dao;

import com.owc.domain.entity.Notice;

import java.util.List;

import com.owc.domain.vo.admin.QueryVo;
import org.apache.ibatis.annotations.Param;

public interface NoticeMapper extends BaseMapper<Notice, Long> {

    /**
     * Fetch all notice.
     */
    List<Notice> selectAll();

    /**
     * Page notice list
     *
     * @param queryVo Query params
     */
    List<Notice> selectByFilter(@Param("queryModel") QueryVo queryVo);
}